package com.lottery.im.module.tim.model;

import com.chad.library.adapter.base.entity.AbstractExpandableItem;
import com.chad.library.adapter.base.entity.MultiItemEntity;
import com.lottery.im.module.contact.adapter.ContactAdapter;

/*
 * 联系人分组
 * */
public class ContactGroup extends AbstractExpandableItem<ContactFriend> implements MultiItemEntity {

  public String groupName;
  public int memberNum;

  public ContactGroup(String groupName,int memberNum) {
    this.groupName = groupName;
    this.memberNum = memberNum;
  }

  @Override public int getLevel() {
    return 0;
  }

  @Override public int getItemType() {
    return ContactAdapter.TYPE_LEVEL_0;
  }
}
